<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<link rel="stylesheet" type="text/css" href="__PUBLIC__/children/css/common.css" />
<if condition="($k eq 'Index') AND ($f eq 'index') ">
        <link rel="stylesheet" type="text/css" href="__PUBLIC__/children/css/index.css" />
	<elseif condition="($k eq 'Detail') AND ($f eq 'goodsdetail')" />
		<link rel="stylesheet" type="text/css" href="__PUBLIC__/children/css/goods_detail.css" />
	<elseif condition="($k eq 'Shopcar') AND ($f eq 'cart')"/>
		<link rel="stylesheet" type="text/css" href="__PUBLIC__/children/css/cart.css" />
	<elseif condition="($k eq 'Sureorder') AND ($f eq 'sureorder')" />
		<link rel="stylesheet" type="text/css" href="__PUBLIC__/children/css/ensure_order.css" />
	<elseif condition="($k eq 'Sureaddress') AND ($f eq 'sureaddress')" />
		<link rel="stylesheet" type="text/css" href="__PUBLIC__/children/css/ensure_address.css"> 
	<elseif condition="($k eq 'Submitpay') AND ($f eq 'nowpay')" />
        <link rel="stylesheet" type="text/css" href="__PUBLIC__/children/css/now_pay.css">
		<link rel="stylesheet" type="text/css" href="__PUBLIC__/children/css/cart.css" />
	<elseif condition="($k eq 'Gerencenter') AND ($f eq 'userpro')" />
        <link rel="stylesheet" type="text/css" href="__PUBLIC__/children/css/user_person_center.css">
	<elseif condition="($k eq 'Myorder') AND ($f eq 'userorder')" />
		<link rel="stylesheet" type="text/css" href="__PUBLIC__/children/css/user_center.css">
	<elseif condition="($k eq 'Gerencenter') AND ($f eq 'usercenter')" />
		<link rel="stylesheet" type="text/css" href="__PUBLIC__/children/css/user_center.css">
	<elseif condition="($k eq 'Order') AND ($f eq 'myorder')" />
		<link rel="stylesheet" type="text/css" href="__PUBLIC__/children/css/order.css">
</if>


</head>
<body>
<div class="container">
    <div class="top">
        <div class="topContent">
            <div class="topUserFunction">
				<if condition="$_SESSION['name'] neq ''">
				<p style="color:red">欢迎登陆!{$_SESSION["name"]}</a><p>|</p><a href="{:U('Public/loginout')}">退出</p>
				<else /> 
				<p>请先</p><a href="{:U('Public/login')}">登陆</a><p>|</p><a href="{:U('Public/register')}">注册</a>
				</if>
               
            </div>
            <div class="topFunction">
                 <a href="{:U('index/index')}">首页</a><a href="{:U('Gerencenter/userpro')}">我的中心</a><a href="{:U('Myorder/userorder')}">我的订单</a><a href="{:U('Shopcar/cart')}">我的购物车</a><a href="#">服务中心</a>
            </div>
        </div>
    </div>




    <div class="header">
        <div class="headerContent">
            <div class="headerLeft">
                <img src="__PUBLIC__/children/images/logo.jpg" width="200" height="95" />
                <div class="navButton">
                    <a>全部商品分类</a>
                </div>
                <div class="secondMenu">
                    <ul>
					
					<!-- 无限极分类输出 -->
					<foreach name="wuxiantotal" item="vo" key="k" >
                        <li>
                            <a href="#" class="secondOption">{$k}</a>
                            <div class="threeMenu">
                                <foreach name="vo" item="vo1" key="k1" >
									<div class="threeMenuTitle">
										<p>{$k1}</p>
									   
									</div>
									<ul>
										 <foreach name="vo1" item="vo2" key="k2" >
										
											<li><a href="#">{$vo2.name}</a></li>
										</foreach>
									</ul>
								</foreach>
                            </div>
                        </li> 
						
					</foreach>
						
                    </ul>
                </div>
            </div>
            <div class="headerMiddle">
                <div class="headerResouch">
                    <form action="#" method="post">
                    <input type="text" style=" width:350px; float:left; background-color:#FFF; height:36px; border:none; margin-top:6px; margin-left:10px;"  name="resouchText"/>
                    <input type="submit" style=" float:left; width:80px; margin-top:6px; background-color:transparent; color:#FFF; height:36px; font:18px yahei; border:none;" name="submit" value="搜索">
                    </form>
                </div>
                <div class="headerResouchBottom">
                    <ul>
                        <li ><a href="#" style="color:#f5b6bb;">迪士尼</a></li>
                        <li><a href="#">好孩子</a></li>
                        <li><a href="#">耐克</a></li>
                        <li><a href="#">啪啪尼克</a></li>
                        <li><a href="#">兔子小克</a></li>
                        <li><a href="#">南极人</a></li>
                        <li><a href="#">巴布豆</a></li>
                    </ul>
                </div>
				<!-- 输出导航栏 -->
                <div class="headerNav">
                    <ul>
					
					<foreach name="info" item="vo" key="k" >
						<if condition="$vo.status eq 1 ">
							<li><a href="{$vo.url}">{$vo.name}</a></li>
						</if>
					</foreach>
                     
                        
                    </ul>
                </div> 
            </div>
            <div class="headerRight"><a href="#"><img src="__PUBLIC__/children/images/erweima.jpg" width="101" height="100"></a><a href="#">扫一扫 加收藏</a></div>   
        </div>
    </div>